package com.storere.entity;

 

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.util.Date;

/**
 * token表(Token)表实体类
 *
 * @author makejava
 * @since 2023-04-23 00:03:21
 */

public class Token extends Model<Token> {
    //主键
    private Long id;
    //用户id
    private Long userid;
    //用户名
    private String username;
    //表名
    private String tablename;
    //角色
    private String role;
    //密码
    private String token;
    //新增时间
    private Date addtime;
    //过期时间
    private Date expiratedtime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserid() {
        return userid;
    }

    public void setUserid(Long userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getTablename() {
        return tablename;
    }

    public void setTablename(String tablename) {
        this.tablename = tablename;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Date getAddtime() {
        return addtime;
    }

    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }

    public Date getExpiratedtime() {
        return expiratedtime;
    }

    public void setExpiratedtime(Date expiratedtime) {
        this.expiratedtime = expiratedtime;
    }


    }

